package com.lcredu.lcrliving.commodity.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.lcredu.common.util.PageUtils;
import com.lcredu.lcrliving.commodity.entity.SkuInfoEntity;
import com.lcredu.lcrliving.commodity.vo.SearchResult;

import java.util.Map;

/**
 * sku 信息
 *
 * @author lcr
 * @email lcr@gmail.com
 * @date 2023-12-07 14:46:39
 */
public interface SkuInfoService extends IService<SkuInfoEntity> {

    PageUtils queryPage(Map<String, Object> params);

    //保存sku的基本信息
    void saveSkuInfo(SkuInfoEntity skuInfoEntity);

    //进行分页查询--携带检索条件
    PageUtils queryPageByCondition(Map<String, Object> params);

    //返回购买用户检索的结果,返回给list.html,thymeleaf(PageUtils->SearchResult)
    SearchResult querySearchPageByCondition(Map<String, Object> params);

}

